import request from '@/utils/request'


// 新增用车申请
export function createOaVehicleApply(data) {
  return request({
    url: '/bpm/oa-vehicle-apply/create',
    method: 'post',
	data
  })
}

// 新增用车申请
export function getOaVehicleApplyPage(data) {
  return request({
    url: '/bpm/oa-vehicle-apply/page',
    method: 'get',
	data
  })
}

// 查询用车申请详情
export function getOaVehicleApply(data) {
  return request({
    url: '/bpm/oa-vehicle-apply/get',
    method: 'get',
	data
  })
}


// 查询用车申请详情
  // getOaVehicleApply: async (id: number) => {
  //   return await request.get({ url: `/bpm/oa-vehicle-apply/get?id=` + id })
  // },

// 查询用车申请分页
  // getOaVehicleApplyPage: async (params: any) => {
  //   return await request.get({ url: `/bpm/oa-vehicle-apply/page`, params })
  // },